package com.hxzy.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @author wzm
 * @create 2023-10-13 11:28
 * project_name:stu_sys
 */
//@WebFilter("/*")
public class ZFileter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("我是A过滤器前");
        filterChain.doFilter(servletRequest,servletResponse);
        System.out.println("我是A过滤器后");
    }
}
